package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaNews;

import java.util.List;

/**
 * @PROJECT_NAME: orproject
 * @DESCRIPTION: 新闻的服务接口
 * @USER: 周佳佳
 * @DATE: 2020/8/4 16:25
 */
public interface OaNewsService {

    List<OaNews> selectAll(OaNews oaNews, String startTime, String endTime,Integer page, Integer limit);

    Long rowCount(OaNews oaNews,String startTime,String endTime);

    int deleteAll(List<Long> list);

    int deleteTypeAll(List<Long> list);

    int updateIsva(OaNews oaNews);

    List<OaNews> selectNewsType(Long pkNewsTypeId);

    OaNews selectByPrimaryKey(Long pkNewsId);

    int insertSelective(OaNews record);

    int updateByPrimaryKeySelective(OaNews record);
}
